<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>元素类型</title>
    <style>
        nav{
            width: 694px;
            height: 50px;
            margin: 10px auto;
            font-size: 0;
        }
        nav>a{
            display: inline-block;
            width: 98px;
            height: 48px;
            border: 1px gold solid;
            font-size: 16px;
            margin-left: -1px;
            font-family: "微软雅黑";
            color: pink;
            text-align: center;
            line-height: 48px;
            text-decoration: none;
        }
        a:hover{
            background-color: gold;
            color: white;
        }
    </style>
</head>
<body>
    <nav>
        <a href="">首页</a>
        <a href="">公司简介</a>
        <a href="">解决方案</a>
        <a href="">公司新闻</a>
        <a href="">行业动态</a>
        <a href="">招贤纳才</a>
        <a href="">联系我们</a>
    </nav>
</body>
</html>